//
//  HomeCollectionViewCell.m
//  AngelaBaby
//
//  Created by lanou3g on 15/10/17.
//  Copyright © 2015年 Jenney. All rights reserved.
//

#import "HomeCollectionViewCell.h"



@interface HomeCollectionViewCell ()


@end



@implementation HomeCollectionViewCell



- (void)awakeFromNib {
    // Initialization code
}

-(void)translateToDelegateID:(int)sender{
    if (_delegate!=nil&&[_delegate respondsToSelector:@selector(translateID:)]) {
        [_delegate translateID:sender];
    }
}



- (IBAction)firstButton:(id)sender {
    int value=[_firstID.titleLabel.text intValue];
    NSLog(@"%d",value);
    [self translateToDelegateID:value];
}

- (IBAction)secondButton:(UIButton *)sender {
}

- (IBAction)thirdButton:(UIButton *)sender {
}


@end
